package org.to_zero.ssm.sdm.util;

/**
 * @Author to_zero
 * @Description //系统字典
 * @Date 11:35 2020/11/24
 */
public class SysUtil {
    public static final String IMG_PATH = "/uploadImg/";
    public static final String ROOT_PATH = "/sdm-front-page";
    public static final String VERIFY_CODE = "verifyCode";
    public static final String LOGIN_TOKEN = "loginToken";
    public static final String REMEMBER_TOKEN = "rememberMe";

    public static String getUploadPath() {
        String path = System.getProperty("user.dir");
        path = path.substring(0, path.lastIndexOf("\\"));
        return path.concat(ROOT_PATH.concat(IMG_PATH));
    }
}
